<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>设置页面的各种 </title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <%
  String color=request.getParameter("color");
  String size=request.getParameter("size");
  String width=request.getParameter("width");
  String border=request.getParameter("border");
  pageContext.setAttribute("color", color);
  pageContext.setAttribute("size", size);
  pageContext.setAttribute("width", width);
  pageContext.setAttribute("border", border);
  
   %>
  <body bgcolor='${pageScope.color }'>
  <form action="page.jsp" method="post">
  <table width="${pageScope.width }" border="${pageScope.border }">
  <tr>
  <td><Font size="${pageScope.size }">修改背景色：</Font></td>
  <td><input type="text" name="color"></td>
  </tr>
  <tr>
  <td><Font size="${pageScope.size }">修改字体大小：</Font></td>
  <td><input type="text" name="size"></td>
  </tr>
  <tr>
  <td><Font size="${pageScope.size }">修改表格宽度：</Font></td>
  <td><input type="text" name="width"></td>
  </tr>
  <tr>
  <td><Font size="${pageScope.size }">修改表格边框：</Font></td>
  <td><input type="text" name="border"></td>
  </tr>
  <tr>
  <td></td>
    <td><input type="submit" value="提交"></td>
    </tr>
  </table>
  </form>
  </body>
</html>